using System.Diagnostics.Contracts;
using Beaker.OpenCube.Render.Maths;

namespace Beaker.OpenCube.Render.Lighting
{
	public sealed class AmbientLight
		: Light
	{

		public AmbientLight( Color color, double radiance = 1d )
			: base( Point3.Zero, color, radiance )
		{
		}

		public override Vector3 GetDirection( Intersection intersection )
		{
			// ambient has no direction
			return Vector3.Zero;
		}

	}
}